home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM BV3 / BMUG PD-ROM Version BV3 (CDRM1097900).iso / HyperCard / Business / Timer / background_2686.txt < prev    next >
Text File  |  1991-11-17  |  1KB  |  68 lines

  1. -- background: 2686 from stack: in
  2. -- bmap block id: 3665
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: 3000
  11. -- rect: left=24 top=32 right=47 bottom=104
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Time1
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   ask "Date to convert to seconds?" with the date
  23.   if it is not empty then
  24.     convert it to seconds
  25.     put it into whichDate
  26.     put whichDate into bkgnd field "Result"
  27.   end if
  28. end mouseUp
  29.  
  30.  
  31.  
  32. -- part 2 (button)
  33. -- low flags: 00
  34. -- high flags: 3000
  35. -- rect: left=24 top=12 right=27 bottom=104
  36. -- title width / last selected line: 0
  37. -- icon id / first selected line: 0 / 0
  38. -- text alignment: 1
  39. -- font id: 0
  40. -- text size: 12
  41. -- style flags: 0
  42. -- line height: 16
  43. -- part name: Time2
  44. ----- HyperTalk script -----
  45. on mouseUp
  46.   ask "Seconds to convert to date?"
  47.   if it is not empty then
  48.     convert it to abbr Date
  49.     put it into whichDate
  50.     put whichDate into bkgnd field "Result"
  51.   end if
  52. end mouseUp
  53.  
  54.  
  55.  
  56. -- part 3 (field)
  57. -- low flags: 04
  58. -- high flags: 0000
  59. -- rect: left=10 top=52 right=67 bottom=119
  60. -- title width / last selected line: 0
  61. -- icon id / first selected line: 0 / 0
  62. -- text alignment: 1
  63. -- font id: 3
  64. -- text size: 9
  65. -- style flags: 0
  66. -- line height: 12
  67. -- part name: Result
  68.